package com.bawei.dao;

import com.bawei.entity.Area;
import com.bawei.entity.User;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import java.util.List;

public interface AreaRepository extends JpaRepository<Area,Integer>{
    List<Area> findByPid(Integer id);
}
